package com.yike.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yike.user.entity.Machine;

import com.yike.user.param.PlatformMachineInfoParam;
import com.yike.user.param.PlatformMachinePageParam;
import com.yike.user.vo.PlatformMachineVo;
import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 设备表 Mapper 接口
 *
 * @author yike
 * @since 2024-07-19
 */
@Mapper
public interface MachineMapper extends BaseMapper<Machine> {

    PlatformMachineVo getPlatformMachineVo(@Param("id") Long id);

    IPage<PlatformMachineVo> getPlatformMachineList(@Param("page") Page page, @Param("param") PlatformMachinePageParam param);

    List<PlatformMachineVo> getMachineList(@Param("param") PlatformMachineInfoParam param);


}
